using UniversalAdmin.Domain.Enums;

namespace UniversalAdmin.Application.DTOs;

public class ArticleDto
{
  public int Id { get; set; }
  public string Title { get; set; } = null!;
  public string Content { get; set; } = string.Empty;
  public string Summary { get; set; } = string.Empty;
  public ArticleStatus Status { get; set; } = 0;
  public int? CategoryId { get; set; }
  public string? CategoryName { get; set; }
  public int UserId { get; set; }
  public string AuthorName { get; set; } = null!;
  public DateTime CreatedAt { get; set; }
  public DateTime UpdatedAt { get; set; }
}